package cn.uin.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;
import java.util.Map;

/**
 * @ClassName SMSProperties
 * @Description:短信发送配置信息
 * @Author: Administrator
 * @CreateDate: 2025/10/29 17:34
 * @Version: 1.0
 */
@Data
@ConfigurationProperties(prefix = "sms.aliyun", ignoreInvalidFields = true)
public class SMSConfigProperties {

	private String accessKeyId;

	private String accessKeySecret;

	private Map<String, OtherInfos> otherInfos;

	@Data
	public static class OtherInfos {

		/** 签名 */
		private String signName;

		/** 模板 */
		private String templateCode;
	}

}
